// 需要下载 npm i axios
var axios = require('axios');
// 需要下载 npm i qs
var qs = require('qs');
let a = 'ceshi';
let b = 0
setInterval(() => {
    b++;
    axios({
        method: 'post',
        url: 'http://127.0.0.1:89/user/reguser',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
        data: qs.stringify({
            'username': `${a}${b}`,
            'password': '123456'
        })
    }).then(function (response) {
        console.log(JSON.stringify(response.data));
    })
        .catch(function (error) {
            console.log(error);
        });
}, 1)
